PowerPC, nand_spl: Add relocation support for -fpic
authorJoakim Tjernlund <[email protected]>
Fri, 3 Dec 2010 16:30:38 +0000 (17:30 +0100)
committerWolfgang Denk <[email protected]>
Fri, 17 Dec 2010 19:25:19 +0000 (20:25 +0100)
commitee0270dff748213bd009fad566c913110fbd89f9
tree183a5e132f58f343b80e03a0e53559672f029662
parent337f5f50f539cc1ea1e0533c096e237228f12cae
PowerPC, nand_spl: Add relocation support for -fpic

By rearranging the linker script we get support for
relocation of -fpic for free.
Move __got2_entries outside _GOT2_TABLE_ defining scope
matching the rest of PowerPC

Signed-off-by: Joakim Tjernlund <[email protected]>
Acked-by: Scott Wood <[email protected]>
Acked-by: Kim Phillips <[email protected]>
nand_spl/board/freescale/mpc8313erdb/u-boot.lds
nand_spl/board/freescale/mpc8315erdb/u-boot.lds
nand_spl/board/sheldon/simpc8313/u-boot.lds